package com.groupbuying.sysconfig.service.impl;

import com.groupbuying.sysconfig.dao.O2okindDao;
import com.groupbuying.sysconfig.domain.O2okindDO;
import com.groupbuying.sysconfig.service.O2okindService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class O2okindServiceImpl implements O2okindService {
	@Autowired
	private O2okindDao o2okindDao;
	
	@Override
	public O2okindDO get(Long kindId){
		return o2okindDao.get(kindId);
	}
	
	@Override
	public List<O2okindDO> list(Map<String, Object> map){
		return o2okindDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return o2okindDao.count(map);
	}
	
	@Override
	public int save(O2okindDO o2okind){
		return o2okindDao.save(o2okind);
	}
	
	@Override
	public int update(O2okindDO o2okind){
		return o2okindDao.update(o2okind);
	}
	
	@Override
	public int remove(Long kindId){
		return o2okindDao.remove(kindId);
	}
	
	@Override
	public int batchRemove(Long[] kindIds){
		return o2okindDao.batchRemove(kindIds);
	}
	
}
